<?php


namespace TemplateMethod;


use TemplateMethod\Builder\AndroidBuilder;
use TemplateMethod\Builder\IosBuilder;

class Test
{
    function test()
    {
        $androidBuilder = new AndroidBuilder();
        $androidBuilder->build();

        // Output:
        // Running android tests
        // Linting the android code
        // Assembling the android build
        // Deploying android build to server

        $iosBuilder = new IosBuilder();
        $iosBuilder->build();

        // Output:
        // Running ios tests
        // Linting the ios code
        // Assembling the ios build
        // Deploying ios build to server

    }
}